*{
    list-style: none;
}


  .doctorDepartmentbox{
    width: 100%; /* 设置容器宽度 */
  overflow-x: auto; /* 横向滚动时显示滚动条 */
  white-space: nowrap; /* 防止列表项换行 */
  }
.doctorDepartment{
  list-style: none; /* 移除默认的列表样式 */
  padding: 0; /* 移除内边距 */
  margin: 0; /* 移除外边距 */
  display: flex; /* 使用弹性布局 */
    margin-top: 20px;
    align-items: center;
    height: 80px;
    font-size: 30px;
  li {
     min-width: 110px; /* 设置每个列表项的最小宽度 */
    margin-left: 20px;
     padding: 5px;
     text-align: center;
  display: inline-block; /* 横向排列 */
  
}
     .active{
        color: skyblue;
     
    }
}
 .sortList{
 margin-top: 12px;
  border-top: 1px solid #999;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 26;
    border-bottom: 1px solid #999;
    .active{
        color: orangered;
        border-bottom: 5px solid orangered;
    }
}
   .doctorCard{
    width: 70%;
    border: 1px solid #ddd;
    position: relative;
    height: 650px;
    margin:  auto;
    margin-top: 40px;
    border-radius: 25px;
     overflow: hidden;
    img{
      width: 100%;
      height: 100%;
      display: block;
    }
    .doctorCardMessage{
      width: 100%;
      height: 40%;
      background-color: #fff;
      position: absolute;
      bottom: 0;
      display: flex;
      flex-direction: column;
      .doctorMessageTop{
        padding-bottom: 10px;
        display: flex;
        height: 200px;
        .doctorMessage{
          padding-left: 20px;
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          font-size: 28px;
        }
      }
      .doctorDeatil{
        display: flex;
        align-items: center;
        color: green;
        font-size: 60px;
      }
      .seekbox{
        border-top: 1px solid #999;
        display: flex;
        justify-content: space-around;
       
        .seekprice{
          width: 60%;
          display: flex;
          align-items: center;
          div{
            width: 100%;
            text-align: center;
            font-size: 32px;
          }
        }
        .seekadvices{
          font-size: 36px;
        }
      }
    }
   }
   .doctorList{
    width: 80%;
    margin: auto;
    margin-top: 40px;
   position: relative;
    display: flex;

    // background-color: red;
    justify-content: space-around;
    .doctorListCard{
  width: 180px;
    border-radius: 18px;
    overflow: hidden;
  height: 220px;
  position: relative;
  img{
    width: 100%;
    height: 100%;
  }
  .everydoctorName{
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 65px;
     color: #fff;
     line-height: 65px;
     text-align: center;
  }
  .active{
    background-color:skyblue
  }
}
   }
.LefttBut{
 position: absolute;
 left: 0;
 font-size: 50px;
 top: 35%;
}
   
.RightBut{
 position: absolute;
 right: 0;
 font-size: 50px;
 top: 35%;
}